home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 387 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.0 KB

  1. Path: cs.mu.OZ.AU!bounce-back
  2. From: James Kanze US/ESC 60/3/141 #40763 <kanze@lts.sel.alcatel.de>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Numeric literal formats
  5. Date: 20 Feb 96 05:50:07 GMT
  6. Organization: -
  7. Approved: fjh@cs.mu.oz.au
  8. Message-ID: <9602191618.AA13420@lts.sel.alcatel.de>
  9. References: <3125C1DC.35AE@ix.netcom.com> <r4g2c8lcrp.fsf@erawan.cognex.com>
  10. NNTP-Posting-Host: munta.cs.mu.oz.au
  11. X-Original-Date: Mon, 19 Feb 96 17:18:57 +0100
  12. In-Reply-To: Michael Cook's message of 19 Feb 96 02:30:07 GMT
  13. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  14.     iQBFAgUBMSlhHOEDnX0m9pzZAQH3QQF9ES/UpXaLdG0pVLramO94AKqj5KVH7XQX
  15.     /h2rjBJaqbDV74Eht5Dkfalqd+aT29l6
  16.     =KUFC
  17. Originator: fjh@munta.cs.mu.OZ.AU
  18.  
  19. In article <r4g2c8lcrp.fsf@erawan.cognex.com> Michael Cook
  20. <mcook@cognex.com> writes:
  21.  
  22. |> >>>>> "P" == "Paul D DeRocco" <pderocco@ix.netcom.com> writes:
  23.  
  24. |>  P> Oh heck, I might as well throw this in. Why isn't there an escape for 
  25. |>  P> escape? That is, why can't \e be defined as \x1B, since it's such a 
  26. |>  P> common control character?
  27.  
  28. |> What would \e mean if the character set were not ASCII?
  29.  
  30. I was about to post the same thing, then it occured to me that this
  31. argument is equally valid concerning \a or \v (or for that matter,
  32. probably everything but \n).
  33.  
  34. The other control characters are defined in terms of their semantics,
  35. and not the code.  I'm not sure how the standard could define the
  36. semantics of escape; this may be the reason why it isn't there.
  37.  
  38. --
  39. James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
  40. GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
  41. Conseils, itudes et rialisations en logiciel orienti objet --
  42.                 -- A la recherche d'une activiti dans une region francophone
  43. ---
  44. [ To submit articles: try just posting with your news-reader.
  45.                       If that fails, use mailto:std-c++@ncar.ucar.edu
  46.   FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
  47.   Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
  48.   Comments? mailto:std-c++-request@ncar.ucar.edu.
  49. ]
  50.